<template>
  <div>
    <button :class="[type, size]"><slot /></button>
  </div>
</template>

<script>
// 组件开发 -公司可能是用自己的组件
export default {
  props: ["type", "size", "showMe"],
  data() {
    return {};
  },

  components: {},

  methods: {}
};
</script>

<style scoped>
button {
  border-radius: 10px;
  border: 0;
  float: right;
}
.medium {
  width: 60px;
  height: 30px;
}
.small {
  width: 40px;
  height: 20px;
}
.delete {
  background: #f56c6c;
  color: #fff;
}
.success {
  background: #58bc58;
  color: #fff;
}
</style>